Fix transitively updating dependencies
authorAlex Crichton <alex@alexcrichton.com>
Thu, 30 Apr 2015 01:42:52 +0000 (18:42 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 30 Apr 2015 01:45:47 +0000 (18:45 -0700)
commit242f8c428b7566ccdc6ff9734086e5f5b8d250c0
tree1ed3f640364154a923231e6267269641fbfcacd3
parente3a642559d25e4f3df494894bd03400924ee33ea
Fix transitively updating dependencies

Currently when a dependency is transitively updated the source may not itself be
updated, so an update may not happen at all. This commit modifies this behavior
to be sure to add the non-updated source to the registry for any matching
package which will trigger the source to update itself.
src/cargo/ops/cargo_generate_lockfile.rs
tests/test_cargo_registry.rs